package com.xc.erp.modules.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.xc.erp.modules.erp.domain.pojo.JshDepotItem;
import com.xc.erp.modules.erp.domain.vo.FindDepotVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【jsh_depot_item(单据子表)】的数据库操作Mapper
* @createDate 2022-12-10 10:05:42
* @Entity .com/xc/erp/model.JshDepotItem
*/
public interface JshDepotItemMapper extends BaseMapper<JshDepotItem> {
    //按照类型和商品id查找数量
  Long getDepotStock(@Param("id")Long id,@Param("type")String type);

  List<FindDepotVo> findByDepotHeadId(Long headerId);
}




